

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <body>
  <%=new Date() %>
  <%=config.getInitParameter("start")%><br>
  very good bye<br>
  <%--转发 --%>
  <%--
  <jsp:forward page="err.jsp"/>
  --%><br>
  <jsp:useBean id="user" scope="request" class="el.User"/>
	<jsp:setProperty name="user" property="*"/><%--MyJsp.jsp?name=rl&age=20使用此链接访问，为所有属性赋值，参数来处问号后面 --%>
	user's name:<jsp:getProperty name="user" property="name"/>
	user's age:<jsp:getProperty name="user" property="age"/>
	<br>
	<jsp:useBean id="heantai" scope="request" class="el.User"/>
	<jsp:setProperty name="heantai" property="name" value="Hean Tai"/>
	heantai's name:<jsp:getProperty name="heantai" property="name"/>
	<br>
	<jsp:useBean id="ye" scope="request" class="el.User"/>
	<jsp:setProperty name="ye" property="age" value="12"/>
	ye's age:<jsp:getProperty name="ye" property="age"/>
  </body><%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
</html>
